import sbt._
import Keys._
import play.Project._

object ApplicationBuild extends Build {

    val appName         = "re"
    val appVersion      = "1.0-SNAPSHOT"

    val appDependencies = Seq(
      // Add your project dependencies here,
       javaCore, 
       javaJdbc, 
       javaJpa,
      "mysql" % "mysql-connector-java" % "5.1.18",
      "org.hibernate" % "hibernate-entitymanager" % "4.1.7.Final",
      "org.hibernate" % "hibernate-search" % "4.2.0.Final",
	  "org.apache.lucene" % "lucene-queries" % "3.6.2",
	  "org.apache.tika" % "tika-parsers" % "1.3",
      "org.apache.commons" % "commons-lang3" % "3.1",
      "com.google.code.gson" % "gson" % "2.2.2",
      "org.apache.httpcomponents" % "httpclient" % "4.2.1",
      "net.sf.jgrapht" % "jgrapht" % "0.8.3"
      //,
      //"be.objectify" % "deadbolt-2_2.9.1" % "1.1.3"
    )

    val main = play.Project(appName, appVersion, appDependencies).settings(
      // Add your own project settings here    
      ebeanEnabled := false,
      
      resolvers += Resolver.url("SWAPP Repository", url("http://rplay.unige.ch/releases/"))(Resolver.ivyStylePatterns),
      resolvers += "Maven Central" at "http://repo1.maven.org/maven2/",      
      resolvers += Resolver.url("Objectify Play Repository", url("http://schaloner.github.com/releases/"))(Resolver.ivyStylePatterns),
      resolvers += Resolver.url("Objectify Play Repository snapshots", url("http://schaloner.github.com/snapshots/"))(Resolver.ivyStylePatterns)
    )

}

   
